package com.sh.data.engine.domain.normalization.research.themedesign.model.mapper;

import com.sh.data.engine.domain.normalization.research.themedesign.model.domain.ThemeDomain;
import com.sh.data.engine.repository.dao.normalization.research.themedesign.entity.ThemeEntity;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @author: mengzheng.mhc
 * @date: 2024/6/20 18:22
 */
@Mapper(componentModel = "spring")
public interface ThemeDomainMapper {

    ThemeDomain map(ThemeEntity entity);

    List<ThemeDomain> map(List<ThemeEntity> entityList);
}
